TEMPLATE = app
CONFIG += console c++17
CONFIG -= app_bundle
CONFIG -= qt
SOURCES += \
	pcapio.cpp \
	main.cpp

HEADERS += \
	pcapio.h

win32{
	INCLUDEPATH+=$$PWD/../3rdlibs/npcap/Include
	contains(QT_ARCH, i386) {
	LIBS+=-L"$$PWD/../3rdlibs/npcap/lib" -lwpcap
	} else {
	LIBS+=-L"$$PWD/../3rdlibs/npcap/lib/x64" -lwpcap
	}
}else: LIBS+=-lpcap
